energy distribution
A Conditional Normalizing Flow Prior for Auroral Electron Energy Spectra
Misyats, Nazar, Fukizawa, Mizuki, Tanaka, Yoshimasa, Ikehata, Satoshi
Reconstructing the energy distribution of precipitating auroral electrons from ground-based optical and radar measurements is an ill-posed inverse problem. Existing methods return a single deterministic spectrum per location and control the ambiguity with a hand-designed regularizer. We show that the spectral smoothness penalty used by recent neural-field reconstructions is a quadratic form in the log-flux vector, and therefore an implicit zero-mean Gaussian prior that constrains spectral curvature alone, leaving the overall flux level and the spectral slope unconstrained. We propose to replace it with a learned prior: a conditional normalizing flow over 19-channel electron spectra, trained on 216 satellite-days of calibrated DMSP SSJ measurements and conditioned on magnetic latitude, magnetic local time and the planetary $K_p$ index. On held-out satellite-days the flow assigns measured spectra with signal in every channel 18 times the density of the best Gaussian baseline and 1400 times that of the smoothness penalty. Samples drawn at held-out contexts reproduce the observed flux distribution and the latitude structure of the auroral oval.
Shaping Useful Noise: Energy Distributions Predict Visual Pretraining Quality
Choi, Ching Lam, Torralba, Antonio, Isola, Phillip, Jegelka, Stefanie
Synthetic data can scale visual pretraining, but current selection criteria only partially explain which datasets train strong representations. We propose using the energy profile of a dataset--the distribution of log-probability levels it occupies under a normalised real-image density model--as an audit and curation principle for synthetic data. To operationalise this view, we introduce Energy-Level Distribution Distance (ELD), which compares real and synthetic energy distributions. Real images span sparse high-likelihood scenes and dense low-likelihood textures, so useful synthetic data should cover this energy range rather than collapse to likely but low-variation samples. Across diverse synthetic datasets, ELD exposes mismatches missed by FID and predicts pretraining performance beyond FID, LPIPS variation, and feature-space recall, including across CNN and ViT self-supervised settings. We then use ELD to resample and mix synthetic sources, matching the real-image energy histogram while preserving diversity and improving downstream transfer.
HeuFouFT: Task-Guided Metaheuristic Coordinate Search for Fourier Fine-Tuning
Wang, Ruiheng, Hou, Yubo, Zhu, Yakun, Shen, Tianle, Wan, Tao, Qin, Zengchang
We introduce Heuristic-Guided Fourier Fine-Tuning (HeuFouFT), a task-guided framework for selecting trainable frequency coordinates in Fourier fine-tuning. Existing uniform and Gaussian band-pass schemes allocate a limited spectral budget through fixed, task-agnostic rules. HeuFouFT instead searches for coordinates using downstream performance. A coarse intensity map from lightweight block-level probes initializes three metaheuristic optimizers: Genetic Algorithm with Simulated Annealing (GA-SA), Particle Swarm Optimization (PSO), and Cuckoo Search (CS). During search, a Random Forest filters each population so that only the top 30% of candidates proceed to proxy fine-tuning. On E2E with GPT-2-Medium, all three variants outperform random-uniform FourierFT, Gaussian band-pass FourierFT, and LoRA across five metrics. PSO further outperforms LoCA, the best-performing baseline, on four metrics while using 37.6% fewer trainable spectral coefficients. Once coordinates are selected, HeuFouFT requires only 15--18% FLOPs of Full FT. These results show that task-guided search allocates limited spectral capacity more effectively than fixed sampling. Our code is publicly available.
Metacognitive Reasoning in Energy Based Models using Instance Based Learning Theory
Malloy, Tailia, Rajput, Prateek Kumar, Nikiema, Serge Lionel, Gonzalez, Cleotilde, Bissyandé, Tegawendé F.
Metacognition involves reasoning about cognitive processes themselves. An example is in resource allocation where we choose how much time and effort to put into a reasoning task before we begin based on our confidence. Current Artificial Intelligence (AI) systems that rely on Large Language Models (LLMs) cannot estimate their uncertainty about an output without first responding, and cannot dynamically allocate resources to producing an output, making this type of metacognitive process difficult. A recently proposed alternative to classic transformer architectures that addresses these two concerns is the Energy Based Model (EBM) which allows for interpretable uncertainty modeling and dynamic allocation of compute resources. While EBMs can allow for control of these two processes, the actual metacognitive task of determining compute allocation based on uncertainty is not directly addressed. Instance-Based Learning Theory (IBLT) provides an approach to modeling human-like decisions from experience that has previously been applied to predicting human metacognitive reasoning. In this paper we introduce a framework for MEtacognitive Reasoning with Instance-based Learning Theory and Energy Dynamics (MERITED). Grounded in IBLT, this framework allows for control of the computational effort allocated in an EBM to allow for metacognitive control over reasoning effort based on uncertainty while remaining computationally efficient. This work has two main contributions, the training and open weight sharing of a 191M parameter reasoning EBM, and an implementation of the MERITED framework for dynamic compute allocation using an IBL model.
Modeling Spectral Energy Shifts in Spatio-Temporal Graph Anomaly Detection
Liu, Yilin, Zhang, Hongchao, Johnson, Taylor T., Taha, Ahmad F., Ma, Meiyi
Abstracttheir impact, and cause substantial economic losses and system failures (Liu et al., 2021; Deng & Hooi, 2021). De-Graph anomaly detection methods aim to distinguish anomalous nodes. While prior meth-tecting such anomalies in graph-structured data, known as ods characterize anomalies through increased Graph Anomaly Detection (GAD), is therefore essential yet variation in the spectral energy distributions, theyremains an open problem (Liu et al., 2022). SpaWe show that this type of anomaly persists acrosstial methods aim to enhance graph representation learning, multiple datasets and remains undetectable byincluding approaches (Li et al., 2019; Dou et al., 2020). To address thisthe other hand, spectral methods address the problem by delimitation, we propose a node-level spectralsigning different graph filters, AMNet (Chai et al., 2022), to energy formulation that is fully compatiblecapture anomaly patterns in the frequency domain. Among with message passing and enables the detectionthese works, the spectral formulation proposed in (Tang of camouflaged anomalies. Building on thiset al., 2022) characterizes node attribute anomalies with a formulation, we introduce an energy-aware graphhigh variation trend known as the "right-shift" phenomenon. The formu-enabling efficient learning under long sliding lation focuses on "right-shift", where anomalies exhibitingwindows. Extensive experiments on large-scale benchmarks demonstrate the effectiveness andhigh variance in energy distribution, and overlooks camouscalability of our approach. Our code is availableflaged anomalies (Gao et al., 2023).
DC-Merge: Improving Model Merging with Directional Consistency
Zhang, Han-Chen, Zhou, Zi-Hao, Luo, Mao-Lin, Di, Shimin, Zhang, Min-Ling, Wei, Tong
Model merging aims to integrate multiple task-adapted models into a unified model that preserves the knowledge of each task. In this paper, we identify that the key to this knowledge retention lies in maintaining the directional consistency of singular spaces between merged multi-task vector and individual task vectors. However, this consistency is frequently compromised by two issues: i) an imbalanced energy distribution within task vectors, where a small fraction of singular values dominate the total energy, leading to the neglect of semantically important but weaker components upon merging, and ii) the geometric inconsistency of task vectors in parameter space, which causes direct merging to distort their underlying directional geometry. To address these challenges, we propose DC-Merge, a method for directional-consistent model merging. It first balances the energy distribution of each task vector by smoothing its singular values, ensuring all knowledge components are adequately represented. These energy-balanced vectors are then projected onto a shared orthogonal subspace to align their directional geometries with minimal reconstruction error. Finally, the aligned vectors are aggregated in the shared orthogonal subspace and projected back to the original parameter space. Extensive experiments on vision and vision-language benchmarks show that DC-Merge consistently achieves state-of-the-art performance in both full fine-tuning and LoRA settings. The implementation code is available at https://github.com/Tobeginwith/DC-Merge.
Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation
Jiang, Kaichao, Wang, He, Hao, Xiaoshuai, Yang, Xiulong, Liu, Ajian, Chu, Qi, Diao, Yunfeng, Hong, Richang
Joint Energy-based Models (JEMs) are well known for their ability to unify classification and generation within a single framework. Despite their promising generative and discriminative performance, their robustness remains far inferior to adversarial training (AT), which, conversely, achieves strong robustness but sacrifices clean accuracy and lacks generative ability. This inherent trilemma-balancing classification accuracy, robustness, and generative capability-raises a fundamental question: Can a single model achieve all three simultaneously? To answer this, we conduct a systematic energy landscape analysis of clean, adversarial, and generated samples across various JEM and AT variants. We observe that AT reduces the energy gap between clean and adversarial samples, while JEMs narrow the gap between clean and synthetic ones. This observation suggests a key insight: if the energy distributions of all three data types can be aligned, we might bridge their performance disparities. Building on this idea, we propose Energy-based Joint Distribution Adversarial Training (EB-JDAT), a unified generative-discriminative-robust framework that maximizes the joint probability of clean and adversarial distribution. EB-JDAT introduces a novel min-max energy optimization to explicitly aligning energies across clean, adversarial, and generated samples. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet subsets demonstrate that EB-JDAT achieves state-of-the-art robustness while maintaining near-original accuracy and competitive generation quality of JEMs, effectively achieving a new trade-off frontier between accuracy, robustness, and generation. The code is released at https://github.com/yujkc/EB-JDAT.
0cddb7c06f1cd518e1efdc0e20b70c31-Supplemental.pdf
The 2048 mesh point high-resolution solution is generated using the Fourier-Galerkin spectral method [41] with the 4th order Runge-Kutta method for time stepping. From the box-filtered initial condition, the 32-point low-resolution solution is conducted using central differencing for the spatial derivatives. This choice does not introduce additional artificial viscosity; thus, the solution without closure is naturally unstable. In this setting, u can be regarded as fully resolved, thus the numerical residual r(u), defined in Eq.(10),iszero. Forthereacting flow simulation task, the different variables in the input q are normalized to the same order of magnitude.
Crystal Generation using the Fully Differentiable Pipeline and Latent Space Optimization
Ridwan, Osman Goni, Frapper, Gilles, Xue, Hongfei, Zhu, Qiang
We present a materials generation framework that couples a symmetry-conditioned variational autoencoder (CVAE) with a differentiable SO(3) power spectrum objective to steer candidates toward a specified local environment under the crystallographic constraints. In particular, we implement a fully differentiable pipeline to enable batch-wise optimization on both direct and latent crystallographic representations. Using the GPU acceleration, this implementation achieves about fivefold speed compared to our previous CPU workflow, while yielding comparable outcomes. In addition, we introduce the optimization strategy that alternatively performs optimization on the direct and latent crystal representations. This dual-level relaxation approach can effectively escape local minima defined by different objective gradients, thus increasing the success rate of generating complex structures satisfying the target local environments. This framework can be extended to systems consisting of multi-components and multi-environments, providing a scalable route to generate material structures with the target local environment.
Probabilistic energy profiler for statically typed JVM-based programming languages
Nyholm, Joel, Mostowski, Wojciech, Reichenbach, Christoph
Energy consumption is a growing concern in several fields, from mobile devices to large data centers. Developers need detailed data on the energy consumption of their software to mitigate consumption issues. Previous approaches have a broader focus, such as on specific functions or programs, rather than source code statements. They primarily focus on estimating the CPU's energy consumption using point estimates, thereby disregarding other hardware effects and limiting their use for statistical reasoning and explainability. We developed a novel methodology to address the limitations of measuring only the CPU's consumption and using point estimates, focusing on predicting the energy usage of statically typed JVM-based programming languages, such as Java and Scala. We measure the energy consumption of Bytecode patterns, the translation from the programming language's source code statement to their Java Bytecode representation. With the energy measurements, we construct a statistical model using Bayesian statistics, which allows us to predict the energy consumption through statistical distributions and analyze individual factors. The model includes three factors we obtain statically from the code: data size, data type, operation, and one factor about the hardware platform the code executes on: device. To validate our methodology, we implemented it for Java and evaluated its energy predictions on unseen programs. We observe that all four factors are influential, notably that two devices of the same model may differ in energy consumption and that the operations and data types cause consumption differences. The experiments also show that the energy prediction of programs closely follows the program's real energy consumption, validating our approach. Our work presents a methodology for constructing an energy model that future work, such as verification tools, can use for their energy estimates.